package com.smx.util;

import com.google.gson.Gson;

/**
 * @ClassName JSONUtil
 * @Description TODO
 * @Author moses
 * @Date 2021/3/6
 **/
public class JsonUtil {
    private static Gson g=new Gson();

    public static String toJSON(Object object) {
        return g.toJson(object);
    }
}
